/**
 * @author hhlxy
 * @version 1.0
 * @since 2025/8/5
 */
package cn.yilongquan.service;


import cn.yilongquan.user.domain.ArticleType;
import cn.yilongquan.user.query.ArticleTypeQuery;
import cn.yilongquan.util.R;

import java.util.List;

public interface ArticleTypeService {
    ArticleType findById(Long id);

    List<ArticleType> findAll();

    void add(ArticleType articleType);

    void update(ArticleType articleType);

    void deleteById(Long id);

    void batchDelete(List<Long> ids);

    R pageList(ArticleTypeQuery articleTypeQuery);

    R getTree();
}
